package com.sservice.model.entity;

import com.sservice.urp.entity.QueryCondition;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class LadingBill extends QueryCondition implements Serializable {
    private static final long serialVersionUID = -8529322271052596182L;
    private Integer id;
    /**
     * 提单业务ID
     */
    private String no;
    /**
     * 提单类型：0:车号，1介绍信，2转货权
     */
    private String type;
    /**
     * 车号/提货公司
     */
    private String carId;
    /***
     * 提货仓库
     */
    private String storeId; // 提货仓库
    /**
     * 提货地
     */
    private String storeName;
    private String goodsId;
    private String goodsNo;
    private String goodsName;
    private String clienteleId;
    private String clienteleName;
    private String unitCode;
    private String businessId; // 业务员ID
    /***
     * 申请用户类型0后台 用户1销售员
     */
    private String applierType;
    /**
     * 实提数量
     */
    private BigDecimal actual;
    /**
     * 本次发货数量
     */
    private BigDecimal numberThisTime;
    /**
     * 有效期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date expireTime;
    private String applyPaper; //0 未申请付款，1已申请付款,
    private Date applyPaperTime; // 发票申请时间
    private String paperStatus; //0，未申请,1已申请，2部分收票，3已完全收票
    private BigDecimal price;
    /**
     * 订单号
     */
    private String saler;
    /**
     * 创建/申请时间
     */

    private Date createAt;
    /**
     * 更新时间
     */
    private Date updateAt;
    /**
     * 申请人ID
     */
    private String userId;
    /**
     * 司机电话
     */
    private String driverPhone;
    /**
     * 司机姓名
     */
    private String driver;
    /***
     * 审核状态
     */
    private String checkStatus;
    /**
     * 拒绝原因
     */
    private String reason;
    /**
     * 审核用户
     */
    private String checker;
    private String pack; // 包装规格
    private String qualityRequire; // 质量标准
    private String quality; //品质规格
    /**
     * 审核时间
     */
    private Date checkTime;
    public LadingBill() {
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no == null ? null : no.trim();
    }


    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId == null ? null : carId.trim();
    }


    public String getApplierType() {
        return applierType;
    }

    public void setApplierType(String applierType) {
        this.applierType = applierType;
    }


    public Date getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }


    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    public Date getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Date updateAt) {
        this.updateAt = updateAt;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getDriverPhone() {
        return driverPhone;
    }

    public void setDriverPhone(String driverPhone) {
        this.driverPhone = driverPhone == null ? null : driverPhone.trim();
    }

    public String getDriver() {
        return driver;
    }

    public void setDriver(String driver) {
        this.driver = driver == null ? null : driver.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(String checkStatus) {
        this.checkStatus = checkStatus;
    }

    public String getChecker() {
        return checker;
    }

    public void setChecker(String checker) {
        this.checker = checker == null ? null : checker.trim();
    }

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getApplyPaper() {
        return applyPaper;
    }

    public void setApplyPaper(String applyPaper) {
        this.applyPaper = applyPaper;
    }

    public Date getApplyPaperTime() {
        return applyPaperTime;
    }

    public void setApplyPaperTime(Date applyPaperTime) {
        this.applyPaperTime = applyPaperTime;
    }

    public String getPaperStatus() {
        return paperStatus;
    }

    public void setPaperStatus(String paperStatus) {
        this.paperStatus = paperStatus;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsNo() {
        return goodsNo;
    }

    public void setGoodsNo(String goodsNo) {
        this.goodsNo = goodsNo;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getClienteleId() {
        return clienteleId;
    }

    public void setClienteleId(String clienteleId) {
        this.clienteleId = clienteleId;
    }

    public String getClienteleName() {
        return clienteleName;
    }

    public void setClienteleName(String clienteleName) {
        this.clienteleName = clienteleName;
    }

    public String getUnitCode() {
        return unitCode;
    }

    public void setUnitCode(String unitCode) {
        this.unitCode = unitCode;
    }

    public String getSaler() {
        return saler;
    }

    public void setSaler(String saler) {
        this.saler = saler;
    }

    public String getPack() {
        return pack;
    }

    public void setPack(String pack) {
        this.pack = pack;
    }

    public String getQualityRequire() {
        return qualityRequire;
    }

    public void setQualityRequire(String qualityRequire) {
        this.qualityRequire = qualityRequire;
    }

    public String getQuality() {
        return quality;
    }

    public void setQuality(String quality) {
        this.quality = quality;
    }

    public BigDecimal getActual() {
        return actual;
    }

    public void setActual(BigDecimal actual) {
        this.actual = actual;
    }

    public BigDecimal getNumberThisTime() {
        return numberThisTime;
    }

    public void setNumberThisTime(BigDecimal numberThisTime) {
        this.numberThisTime = numberThisTime;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }
}